package transport;

public class ImmutablePoint_2 {
	Pair point;

	public ImmutablePoint_2(double x, double y) {
		new Pair(x, y);
	}

	public ImmutablePoint_2(ImmutablePoint_2 p) {
		Pair newpoint = p.point;
		new Pair(newpoint.x, newpoint.y);
	}

	private class Pair {
		double x, y;

		public Pair(double x, double y) {
			this.x = x;
			this.y = y;
		}

	}

}
